package com.mmall.dao;

import com.mmall.pojo.Skill;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface SkillMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Skill record);

    int insertSelective(Skill record);

    Skill selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Skill record);

    int updateByPrimaryKey(Skill record);

    int updateUserIdPrimaryKey(Skill record);

    List<Skill> selectUserIdName(@Param(value = "userId") Integer userId,@Param(value = "name") String name);

    int deleteSkillUserId(@Param(value = "userId") Integer userId,@Param(value = "skillId") Integer skillId);
}